﻿<MudPaper Class="pa-4 mud-height-full overflow-auto" Elevation=0>
    <MudStack Class="mud-height-full">
        @if (ButtonContent != null)
        {
            <div>
                <MudStack Wrap="Wrap.Wrap" Spacing="3" Row="true" AlignItems="AlignItems.Start">
                    @ButtonContent
                </MudStack>
            </div>     
        }
        <div class="flex-1 overflow-hidden" style="padding:1px;">
            @ChildContent
        </div>
        @if (PaginationContent != null)
        {
            @PaginationContent
        }
    </MudStack>
</MudPaper>
@code {
    [Parameter]
    public RenderFragment? ButtonContent { get; set; }
    [Parameter]
    public RenderFragment? ChildContent { get; set; }
    [Parameter]
    public RenderFragment? PaginationContent { get; set; }
}
